/**
 * 
 */
package com.mvc.service.MyMenu;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.mvc.model.healthmanager.archive.BloodOxygen;
import com.mvc.model.healthmanager.archive.BloodPressure;
import com.mvc.model.healthmanager.archive.BloodSugar;
import com.mvc.model.healthmanager.archive.BloodSugarStandardization;
import com.mvc.model.healthmanager.archive.Temperature;
import com.mvc.model.healthmanager.archive.UserTemperature;
import com.mvc.model.healthmanager.archive.WeightHeight;
import com.mvc.model.report.ColligateReport;


/**
 * @author qingjie
 *
 */
@Service
public interface ReportServiceI {

	/**
	 * @author qingjie
	 * 获取报表血压数据
	 * @param personId
	 * @return
	 */
	public Map<String, Object> getPressureForZh(List<BloodPressure> bli, int size);
	
	/**
	 * @author qingjie
	 * 获取报表血糖数据
	 * @param sli
	 * @return
	 */
	public Map<String, Object> getSugarForZh(List<BloodSugar> sli,int size);
	
	/**
	 * @author qingjie
	 * 获取报表血氧数据 
	 * @param oli
	 * @return
	 */
	public Map<String, Object> getOxyenForZh(List<BloodOxygen> oli);
	
	/**
	 * @author qingjie
	 * 获取报表身高体重数据 
	 * @param whli
	 * @return
	 */
	public Map<String, Object> getWeightForZh(List<WeightHeight> whli,String gender,int size);
	
	/**
	 * @author qingjie
	 * 获取报表体温数据 
	 * @param oli
	 * @return
	 */
	public Map<String, Object> getTemperatureForZh(List<UserTemperature> tli);

	/**
	 * 查询报表
	 * @param params
	 * @return
	 */
	public List<ColligateReport> findColligateReport(Map<String, Object> params);
	
	/**
	 * 查询报表
	 * @param id
	 * @return
	 */
	public ColligateReport getColligateReportById(String id);
}
